﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LunarSF.SHomeWorkshop.LunarMarkdownEditor
{
    ///<summary>
    /// 此类用于表示一道试题某个答案或用作混淆的选项。
    ///</summary>
    public class ChoiceItem
    {
        private bool isAnswer = false;
        /// <summary>
        /// 表示此项是答案。
        /// </summary>
        public bool IsAnswer
        {
            get { return isAnswer; }
            set { this.isAnswer = value; }
        }

        private String text;
        /// <summary>
        /// 选择项的文本。
        /// </summary>
        public String Text
        {
            get { return text; }
            set { this.text = value; }
        }

        private String analysisText;
        /// <summary>
        /// 选择项解析文本。
        /// </summary>
        public string AnalysisText
        {
            get { return analysisText; }
            set { this.analysisText = value; }
        }

        private int orderNumber = 0;
        /// <summary>
        /// 选择项用于排序的序号。
        /// </summary>
        public int OrderNumber
        {
            get { return orderNumber; }
            set { this.orderNumber = value; }
        }
    }
}
